<template>
	<view>
		<u-parse :content="message"  ></u-parse>
	</view>
</template>

<script>
	import uParse from '@/components/u-parse/u-parse.vue'
	export default {
		componentsP:{
			uParse
		},
		onLoad(opt) {
			// var type = opt.type
			this.api.http.requests('common/webSetting', {}, res => {
				if(opt.type == 0){
					this.message = res.data.fuwuxieyi //服务协议，html
				}else{
					this.message = res.data.yingsizhengce //隐私政策，html
				}
			}, "POST")
		},
		data() {
			return {
				message:' '
			};
		}
	}
</script>

<style lang="less">

</style>
